package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.BannerInfo;
import com.danskin.wechat.util.Page;

public interface BannerInfoDao {

	List<BannerInfo> findBannerInfo(@Param("appId")String appId);

	List<BannerInfo> listPageFindBannerInfoList(Page page);

	int insertBannerInfo(BannerInfo bannerInfo);

	void deleteBannerInfo(@Param("id")String id);

	BannerInfo findBannerInfobyId(@Param("id")String id);

	void updateBannerInfo(BannerInfo bannerInfo);

	List<BannerInfo> findBannerInfoModth(@Param("appId")String appId);

}
